﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CPPEI.Coolzon.Tools.FlashPlayTool
{
    public partial class Form2 : Form
    {
        AxShockwaveFlashObjects.AxShockwaveFlash flash;
        public Form2()
        {
            InitializeComponent();

            flash = new AxShockwaveFlashObjects.AxShockwaveFlash();
            this.Controls.Add(flash);
            flash.Dock = DockStyle.Fill;

        }

        protected override void OnLoad(EventArgs e)
        {
            flash.Movie = Program.URL; //"C:\\work\\中石油\\9600_1200全尺寸_西气东输一线管道走向图.swf";// Program.URL;
            //flash.Play();
            base.OnLoad(e);
        }
    }
}
